package com.wkn.wknAdmin.mapper;

import com.wkn.wknAdmin.entity.RoleMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Title:
 * @Description:
 * @Author: WKN
 * CreateDate: 2022/8/15 10:15
 */
@Mapper
public interface RoleMenuMapper {



    int insert(RoleMenu roleMenu);

    int deleteByRoleId(@Param("roleId") Integer roleId);

    List<Integer> getRoleMenu(@Param("roleId") Integer roleId);

}
